package com.easemob.chat;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;

public class TextMessageBody extends MessageBody
  implements Parcelable
{
  String message;
  public static final Parcelable.Creator<TextMessageBody> CREATOR = new Parcelable.Creator()
  {
    public TextMessageBody createFromParcel(Parcel paramAnonymousParcel)
    {
      return new TextMessageBody(paramAnonymousParcel, null);
    }

    public TextMessageBody[] newArray(int paramAnonymousInt)
    {
      return new TextMessageBody[paramAnonymousInt];
    }
  };

  public TextMessageBody(String paramString)
  {
    this.message = paramString;
  }

  public String getMessage()
  {
    return this.message;
  }

  public String toString()
  {
    return "txt:\"" + this.message + "\"";
  }

  public int describeContents()
  {
    return 0;
  }

  public void writeToParcel(Parcel paramParcel, int paramInt)
  {
    paramParcel.writeString(this.message);
  }

  private TextMessageBody(Parcel paramParcel)
  {
    this.message = paramParcel.readString();
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     com.easemob.chat.TextMessageBody
 * JD-Core Version:    0.6.1
 */